package com.eduhzy.ttw.teacher.di.component;

import com.eduhzy.ttw.teacher.mvp.ui.activity.UpdatePhoneActivity;
import com.eduhzy.ttw.teacher.di.module.PersonUpdateModule;
import com.eduhzy.ttw.teacher.mvp.contract.PersonUpdateContract;
import com.eduhzy.ttw.teacher.mvp.ui.activity.PersonUpdateActivity;
import com.jess.arms.di.component.AppComponent;
import com.jess.arms.di.scope.ActivityScope;

import dagger.BindsInstance;
import dagger.Component;

@ActivityScope
@Component(modules = PersonUpdateModule.class, dependencies = AppComponent.class)
public interface PersonUpdateComponent {
    void inject(PersonUpdateActivity activity);

    void inject(UpdatePhoneActivity updatePhoneActivity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        PersonUpdateComponent.Builder view(PersonUpdateContract.View view);

        PersonUpdateComponent.Builder appComponent(AppComponent appComponent);

        PersonUpdateComponent build();
    }


}